/**  
* @author: suan@unibroad.com
* @date 2014年5月6日 下午4:21:53
* @Copyright: 2014 unibroad.com Inc. All rights reserved.
*/
package com.strugglerz.model.exception;

/**  
* @Title: ParamsException.java
* @Package com.unibroad.appstore.model.exception
* @Description: 错误参数异常
* @version V1.0   
*/
public class ParamsException extends Exception {

	/**
	 * <code>serialVersionUID</code> - {成员变量描述}.
	 */
	private static final long serialVersionUID = -6000519665520081364L;

	/**
	 * 异常对象
	 */
	private final Throwable e;

	/**
	 * 
	 * 构造函数.
	 * @param exceptionMessage
	 */
	public ParamsException(final String exceptionMessage) {
		super(exceptionMessage);
		e = null;
	}

	/**
	 * 
	 * 构造函数.
	 * @param exceptionMessage
	 * @param e
	 */
	public ParamsException(final String exceptionMessage, final Throwable e) {
		super(exceptionMessage);
		this.e = e;
	}

	/**
	 * 构造函数.
	 * @param e
	 */
	public ParamsException(final Throwable e) {
		super();
		this.e = e;
	}

	/**
	 * 
	 * {方法描述}.
	 * @return
	 */
	public Throwable geteThrowable() {
		return e;
	}

}
